﻿using System.Runtime.Serialization;

namespace ExceptionHandlingDemo.Api.Infrastructures.Exceptions;

[Serializable]
public class AppException : Exception
{
    public AppException()
    {

    }

    public AppException(SerializationInfo serializationInfo, StreamingContext context)
        : base(serializationInfo, context)
    {

    }

    public AppException(string message)
        : base(message)
    {

    }

    public AppException(string message, Exception innerException)
        : base(message, innerException)
    {

    }
}
